Skip to content

LibWeb: Correct initiator origin logic for new top level traversables#8908

Open
jonbgamble wants to merge 1 commit intoLadybirdBrowser:masterfrom
jonbgamble:pr-document-state-origin
Open

LibWeb: Correct initiator origin logic for new top level traversables#8908
jonbgamble wants to merge 1 commit intoLadybirdBrowser:masterfrom
jonbgamble:pr-document-state-origin

Conversation

@jonbgamble
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread Libraries/LibWeb/HTML/TraversableNavigable.cpp
@jonbgamble jonbgamble force-pushed the pr-document-state-origin branch 2 times, most recently from 9b2939d to ead7cef Compare April 13, 2026 23:14
@trflynn89
Copy link
Copy Markdown
Contributor

Just noting so it doesn't get lost - the test added here failed in one of the runs:

--- /home/runner/_work/ladybird/ladybird/Tests/LibWeb/Text/expected/./HTML/window-open-about-blank-inherits-opener-origin.txt
+++ /home/runner/_work/ladybird/ladybird/Tests/LibWeb/Text/expected/./HTML/window-open-about-blank-inherits-opener-origin.txt
@@ -1,3 +1,3 @@
 initial popup.location.href: about:blank
 initial popup.document.body.textContent: Hello Shannon!
-reloaded popup.document.body.textContent: 
+reloaded popup.document.body.textContent: Hello Shannon!

@jonbgamble
Copy link
Copy Markdown
Contributor Author

Nice one. I don't suppose I could blame this on Shannon?

@jonbgamble jonbgamble force-pushed the pr-document-state-origin branch from ead7cef to cf9f0ed Compare April 14, 2026 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants